package com.ziyun.pop.mall.module.mall.result;

/**
 * POP商城返回所需参数
 * @Author:chenxiaoyi
 * @Date:2018/8/29 15:19
 */
public class ProductResult<T> {

    private T object;//当前分类

    private Long totalCount;//当前分类总数

    public T getObject() {
        return object;
    }

    public void setObject(T object) {
        this.object = object;
    }

    public Long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Long totalCount) {
        this.totalCount = totalCount;
    }

    public ProductResult() {
    }

    public ProductResult(T object, Long totalCount) {
        this.object = object;
        this.totalCount = totalCount;
    }

    public ProductResult(Long totalCount) {
        this.totalCount = totalCount;
    }
}
